var express = require('express');
var router = express.Router();
var {stuModel} = require('../../model/model')

/* GET home page. */
router.get('/getName',async(req,res)=>{
    let data = await stuModel.find()
    res.send(data)
})

module.exports = router;
